Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NChain<T> Class / SwapWithNext Method


In This Topic
    SwapWithNext Method
    In This Topic
    Swaps this node with the next node in the chain
    Syntax
    'Declaration
     
    
    Public Function SwapWithNext( _
       ByVal node As NChainNode(Of T) _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NChain(Of T)
    Dim node As NChainNode(Of T)
    Dim value As System.Boolean
     
    value = instance.SwapWithNext(node)
    public System.bool SwapWithNext( 
       NChainNode<T> node
    )

    Parameters

    node

    Return Value

    true if node had a next node and locations are swapped, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also